import { IsOptional, IsString, Length } from 'class-validator';
import { PagingDto } from 'src/common/dto';

export class ListClientDto extends PagingDto {
  @IsOptional()
  @IsString()
  nickName?: string;

  @IsOptional()
  @IsString()
  @Length(11, 11)
  phonenumber?: string;
}
